
<?php 
	$this->title = 'Page des fiches';
	$this->headTitle($this->title);
	echo $this->form;
?>

<script>
	$(function() {
		
		$("#date1").glDatePicker(
		{
    	cssName: "android",
    	selectedDate: 5
	});


		$("#date2").glDatePicker(
				{
		    	cssName: "android",
		    	selectedDate: 5
			});


		$("#date3").glDatePicker(
				{
		    	cssName: "android",
		    	selectedDate: 5
			});
		
	});
</script>



<legend>
Liste des fiches operation:
</legend>

<center>
<table class="table table-striped" style="width: 99.99999998999999%;"  >
<thead>

<?php
 // Render each the title of each post for the current page in a list-item
	foreach ($this->paginator as $item) {		   
		foreach ($item as $key => $value) 
		{	
			if(isset($this->header[$key]) && !empty($this->header[$key])){
?>
	<th>
		<?php echo $this->header[$key]; ?>
	</th>
	
		<?php } }?>
	
	<th>
		Equipe
	</th>
		<th>
		Supprimer
	</th>
		<th>
		Modifier
	</th>	
				 		
	
		<?php break;}?>	
</thead><tbody>

<?php 	
		$i=0;
	foreach ($this->paginator as $item) {
	
?>
<tr> 

<?php 	
	foreach ($item as $key => $value) 
	{
		if(isset($this->header[$key]) && !empty($this->header[$key])){
						 
?>
	<td> 
	<?php echo $value; ?>
 	</td>
	<?php } } ?>
						
	<td>
		<a   href="<?php echo $this->url(array("action"=>"equipe","controller"=>"index","module"=>"admin","idfiche"=>$item['idFICHE_OPERATION']),null,false);?>">eq</a>
	</td>
	
	<td>
		<a  href="<?php echo $this->url(array("action"=>"supficheoperation","controller"=>"index","module"=>"admin","idfiche"=>$item['idFICHE_OPERATION']),null,false);?>">sup</a>
	
	</td>
	
	<td>
		<a  href="<?php echo $this->url(array("action"=>"modifficheoperation","controller"=>"index","module"=>"admin","idfiche"=>$item['idFICHE_OPERATION']));?>">Modif</a>
	
	</td>

	
</tr>
		<?php	  }?>

</tbody></table></center>